<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
  
<script language="javascript" type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.9.0.min.js"></script>
<script language="javascript" type="text/javascript" src="${pageContext.request.contextPath}/js/common.js"></script>
<script language="javascript" type="text/javascript" src="${pageContext.request.contextPath}/js/login.js"></script>

<form:form action="${pageContext.request.contextPath}/j_spring_security_check" name="loginForm" id="frm_login" method="POST">

<div class="right-area">
			<div class="left-arrow"><img src="${pageContext.request.contextPath}/images/arrow-left.png" width="11" height="16" alt="" /></div>
			<div class="container">
				<div class="right-block">
					<h2>Sign in </h2>
					<div class="login-inner">
						<h3>Sign in to your account using:</h3>
						<form method="post" action="">
							<div class="sharebutton">
								<ul>
									<li class="facebook"><a href="" title="Facebook">&nbsp;</a></li>
									<li class="linkedin"><a href="" title="LinkedIn">&nbsp;</a></li>
									<li class="twitter"><a href="" title="Twitter">&nbsp;</a></li>
									<li class="yahoo"><a href="" title="Yahoo">&nbsp;</a></li>
									<li class="google"><a href="" title="Google">&nbsp;</a></li>
								</ul>
							</div>
							<div class="clearfix or">or</div>
							<c:set var="message" value="${loginForm.message}"></c:set>
							<c:if test="${not empty message}">
								<div class="error-common"><c:out value="${loginForm.message}" /></div>
							</c:if>
							<!--<div class="error-common">Enter valid email id</div>-->
							<div class="input"><input type="text" value="Email Address" name="j_username" id="j_username" class="textbox" /></div>
							<div class="input"><input type="password" value="Password" name="j_password" id="j_password" class="textbox" /></div>
							<div class="input"><input type="checkbox"  name="_spring_security_remember_me" id="_spring_security_remember_me"/>  Remember me</div>
							<div class="forgot"><a href="${pageContext.request.contextPath}/auth/login?action=forgotpwd">Forgot Password?</a></div>
							<div class="submit"><input type="submit" value="Sign In" /></div>
							<div class="noaccount">Dont have an account, <a href="${pageContext.request.contextPath}/reg/join">Create one today?</a></div>
						</form>
					</div>
				</div>
			</div>
		</div>
		
</form:form>